import { defineComponent, onBeforeUnmount, onMounted } from 'vue'
 
import {start ,close} from "@/assets/js/draw.js"
export default defineComponent(() => { 
    onMounted(() => {
    start()
    }) 
    onBeforeUnmount(()=>{
       close()
    })
    return () => (  
            <canvas style="display: block; height:100%;width:100% " id="view" ></canvas> 
    )
})

